package com.example.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

@Data
public class Books {
    @TableId(type = IdType.AUTO)
    private Long id;
    @TableField(value = "bookName")
    private String bookName;
    @TableField(value = "bookCounts")
    private Integer bookCounts;
    private String detail;
    private String photo;
    private String writer;
    @TableField(value = "bookPrice")
    private Double bookPrice;
    private String type;
}
